<!DOCTYPE html>
<html>
<head lang="en">
    <meta charset="UTF-8">
    <include file="Public:resource"/>
    <title>{$columnModel.column}</title>
</head>
<body>
<div class="container">
    <include file="Public:topWithoutBack" title="{$columnModel.column}"/>

    <empty name="publishModel">

        <div class="row" style="margin-top: 50px;font-size: large;">
            <div class="col-xs-12 col-sm-12 col-md-12 col-lg-12" align="center">
                {$columnModel.column}
            </div>
        </div>

        <else/>

        <foreach name="publishModel" item="publish">
            <div class="row bd-bot" style="padding: 10px 0px 5px 0px;" onclick="onNoticeItemClick('{$publish.id}')">
                <div class="col-xs-12 col-md-12 col-sm-12 col-lg-12">
                    <div class="row">
                        <div class="col-xs-12 col-md-12 col-sm-12 col-lg-12 inline-text">
                            {$publish.title}
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12 col-md-12 col-sm-12 col-lg-12 inline-text c-gray" style="font-size: small;margin-top: 5px;">
                            &nbsp;&nbsp;{$publish.intro}
                        </div>
                    </div>
                    <div class="row">
                        <div class="col-xs-12 col-md-12 col-sm-12 col-lg-12" style="color:darkgray;font-size: smaller;"
                             align="right">
                            {$publish.publishertime}
                        </div>
                    </div>
                </div>
            </div>
        </foreach>
    </empty>
    <include file="Public:menu"/>
</div>
<script>
    function onNoticeItemClick(id){
        window.location.href="{:U('Info/detail')}&id="+id+"&needBack=1";
    }
</script>
</body>
</html>